package com.zhf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhf.pojo.EsUser;
import com.zhf.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<EsUser> selectAll(@Param("time") String time);

    List<EsUser> selectUser(@Param("current") Date current,@Param("time") Date time);

    void updateBy(@Param("id") Integer id);
}
